Platform Explorer / Nuxeo Platform 2023.8

Component org.nuxeo.ecm.platform.video.service.VideoService

Documentation

The VideoService provides extension points to register named video conversions and default conversions to run when importing a video.

Resolution Order

596
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Start Order

895
The start order represents the order in which this component has been started by the Nuxeo Runtime framework.
This number is interesting to tweak if your Java component interacts with other components, and needs to be started before or after another one.
It can be changed by implementing the method "Component#getApplicationStartedOrder()" on your Java component: components are sorted according to this reference value, in increasing order.
The default value is 1000, and the repository initialization uses number 100. Negative values can also be used.

Implementation

Class: org.nuxeo.ecm.platform.video.service.VideoServiceImpl

Services

Extension Points

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.video.service.VideoService">

  <implementation
    class="org.nuxeo.ecm.platform.video.service.VideoServiceImpl" />

  <service>
    <provide
      interface="org.nuxeo.ecm.platform.video.service.VideoService" />
  </service>

  <documentation>
    The VideoService provides extension points to register
    named video conversions and default conversions to run
    when importing a video.
  </documentation>

  <extension-point name="videoConversions">
    <documentation>
      Extension point to contribute available video conversions
      <p>
        Since 7.2, 2 new attributes are available:
        <ul>
          <li>rendition: true if this video conversion should be exposed as a rendition, false otherwise.</li>
          <li>renditionVisible: equivalent of the 'visible' attribute on a rendition definition,
            true if this video conversion is a rendition and should be visible in the UI, false otherwise</li>
        </ul>
      </p>
    </documentation>
    <object
      class="org.nuxeo.ecm.platform.video.service.VideoConversion" />
  </extension-point>

  <extension-point name="automaticVideoConversions">
    <documentation>
      Extension point to contribute default video conversions
      launched after the creation of a Video document.
    </documentation>
    <object
      class="org.nuxeo.ecm.platform.video.service.AutomaticVideoConversion" />
  </extension-point>

  <extension-point name="configuration">
    <documentation>
      <p>Since 7.4.</p>
      <p>
      Extension point to configure the VideoService, such as:
        <ul>
          <li>When to take the preview screenshot (percentage of the video duration)</li>
          <li>Storyboard thumbnails count</li>
          <li>Minimum duration of the video to generate storyboard (0 means always, &lt; 0 means never)</li>
        </ul>
      </p>
    </documentation>
    <object
      class="org.nuxeo.ecm.platform.video.service.Configuration" />
  </extension-point>

</component>